package one.stand.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import one.stand.model.GoodSpecModel;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author Administrator
 */
@Data
@ApiModel(value = "商品信息返回")
public class GoodsResponse implements Serializable {

    @ApiModelProperty("商品id")
    private Integer goodsId;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("商品分类id")
    private Integer goodstypeId;

    private String goodsTypeName;

    @ApiModelProperty("公司id")
    private Integer companyId;

    @ApiModelProperty("商品详情")
    private String goodsDetails;

    @ApiModelProperty("是否线上支付 1是")
    private Integer isPayment;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("是否删除1是")
    private Integer isDel;

    @ApiModelProperty("商品价格")
    private Integer price;

    @ApiModelProperty("商品图片")
    private String goodPhoto;

    @ApiModelProperty("商品库存")
    private Integer goodsNum;

    @ApiModelProperty("商品总销量")
    private Integer dealNum;

    @ApiModelProperty("商品封面图")
    private String coverImg;

    // 原产品id,代理产品用，原产品0
    private Integer qjOrginId;
    // vr地址
    private String qjVrUrl;

    private List<GoodSpecModel> goodSpecModelList;


    // 是否显示价格
    private Integer showPrice;
    // 是否显示优选产品
    private Integer isShow;
    private Integer fromApp;


    /**
     * 商品-名片用户ID
     */
    private Integer cardUserId;


}